import { ref } from 'vue'
import { defineStore } from 'pinia'

export const useClassStore = defineStore('class', () => {
    const classList = ref([
        {
            value: '河南工业和信息化职业学院', label: '河南工业和信息化职业学院',
            children: [
                {
                    value: '计算机学院', label: '计算机学院',
                    children: [
                        {
                            value: '计算机应用技术', label: '计算机应用技术',
                            children: [
                                {
                                    value: '2025级', label: '2025级',
                                    children: [
                                        { value: '1班', label: '1班' },
                                        { value: '2班', label: '2班' },
                                        { value: '3班', label: '3班' }
                                    ]
                                },
                                {
                                    value: '2024级', label: '2024级',
                                    children: [
                                        { value: '1班', label: '1班' },
                                        { value: '2班', label: '2班' },
                                        { value: '3班', label: '3班' }
                                    ]
                                },
                                {
                                    value: '2023级', label: '2023级',
                                    children: [
                                        { value: '1班', label: '1班' },
                                        { value: '2班', label: '2班' },
                                        { value: '3班', label: '3班' }
                                    ]
                                },
                                {
                                    value: '2022级', label: '2022级',
                                    children: [
                                        { value: '1班', label: '1班' },
                                        { value: '2班', label: '2班' },
                                        { value: '3班', label: '3班' }
                                    ]
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    ])

    return {classList}
})
